#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
    int t, c;
    scanf("%d", & t);
    c = 5 * (t - 32) / 9;
        printf("Celsius=%d\n", c);
        return 0;
}